<div class="row-fluid">
    <div class="span2">
    </div><!--/span-->
    <div class="span8">
        <div class="row-fluid">
            <div class="hero-unit">
                <div class="alert alert-info">
                    <button type="button" class="close" data-dismiss="alert">×</button>
                    <strong>Inquery Success.</strong>
                </div>
                <?php
                $tbl = $message->Table;
                for ($i = 0; $i < count($tbl); $i++) {
                    echo
                    '<table class="table table-bordered table-striped">
                    <thead>
                        <tr>
                            <th>Labels</th>
                            <th>Detail</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>
                                <span class="label">Record ID</span>
                            </td>
                            <td>
                                ' . $tbl[$i]->id . '
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="label label-success">NOP</span>
                            </td>
                            <td>
                                <code>' . $tbl[$i]->no_id . '</code>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="label label-info">Nama</span>
                            </td>
                            <td>
                                ' . $tbl[$i]->nama . '
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="label label-success">Tagihan</span>
                            </td>
                            <td>
                                <code>' . $tbl[$i]->tagihan . '</code>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="label label-warning">Tahun</span>
                            </td>
                            <td>
                                ' . $tbl[$i]->Tahun . '
                            </td>
                        </tr>
                    </tbody>
                </table>';
                }
                ?>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span5"></div>
            <div class="span2">
            </div>
            <div class="span5"></div>
        </div>
    </div><!--/span-->
    <div class="span2"></div>
</div><!--/row-->